package com.woniuxy.bases.service;

import com.woniuxy.bases.entity.Area;
import com.woniuxy.bases.entity.dto.AreaUpdateDTO;
import com.woniuxy.bases.entity.dto.GetAreaDTO;
import com.woniuxy.bases.entity.vo.AreaDelVo;
import com.woniuxy.comments.util.CustomPage;
import com.woniuxy.comments.util.ResponseResult;

import java.util.List;

public interface AreaService {
    ResponseResult<CustomPage<List<Area>>> getAllArea(GetAreaDTO getAreaDTO);

    boolean banAreas(List<AreaDelVo> list);

    boolean addNewAreas(List<Area> list);

    boolean delAreas(List<AreaDelVo> list);

    boolean updateArea(AreaUpdateDTO areaUpdateDTO);

}
